package com.example.carproviderbackstage.mapper.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface CustomerMapper {
    List<Map<String, Object>> findCustomer(Map<String, String> map);

    int addCustomer(Map<String, Object> map);

    int updateCustomer(Map<String, Object> map);

    int updateOwnerCard(Map<String, Object> map);

    List<Map<String, Object>> findBrand(Map<String, Object> map);

    List<Map<String, Object>> findDriver(Map<String, Object> map);

    int addDriver(Map<String, Object> map);

    List<Map<String, Object>> findCarModel(Integer id);

    int updateDriver(Map<String, Object> map);
}
